﻿using AnlianCommon.Common.Domains.UserPermissions;
using AnlianCommon.Common.DTO;
using MediatR;

namespace AnlianCommon.API.Commands.Personnels
{
    public class PersonnelSeachCommand : IRequest<ResultPage<Personnel>>
    {
        //姓名
        public string? PersName { get; set; }
        //部门
        public int? DepartmentId { get; set; }
        //员工状态
        public string? StaffState { get; set; }
        /// <summary>
        /// 页码
        /// </summary>
        public int PageIndex { get; set; }
        /// <summary>
        /// 页容量
        /// </summary>
        public int PageSize { get; set; }
    }
}
